package com.yuyou.fn.analyze.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "product_target")
public class ProductTarget implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ProductTarget> createExample(){
		return new Example<ProductTarget>(ProductTarget.class);
	}

	/**  */
	@TableId(value = "product_target_id")
	private Long productTargetId;

	/**  */
	@TableField(value = "product_id")
	private Long productId;

	@TableField(exist = false)
	private String name;
	/**  */
	private String year;


	/** 0营收目标，1利润目标 */
	@TableField(value = "target_type")
	private Integer targetType;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "period_id")
	private Long periodId;

	@TableField(value = "period_no")
	private Integer periodNo;

	@TableField(value = "target_price")
	private BigDecimal targetPrice;

	public Long getProductTargetId() {
		return this.productTargetId;
	}

	public void setProductTargetId(Long productTargetId) {
		this.productTargetId = productTargetId;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getYear() {
		return this.year;
	}

	public void setYear(String year) {
		this.year = year;
	}


	public Integer getTargetType() {
		return this.targetType;
	}

	public void setTargetType(Integer targetType) {
		this.targetType = targetType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getPeriodId() {
		return periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public Integer getPeriodNo() {
		return periodNo;
	}

	public void setPeriodNo(Integer periodNo) {
		this.periodNo = periodNo;
	}

	public BigDecimal getTargetPrice() {
		return targetPrice;
	}

	public void setTargetPrice(BigDecimal targetPrice) {
		this.targetPrice = targetPrice;
	}
}
